<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>本地存储</title>
	<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript" src="js/jquery.cookie.js"></script>
	<script type="text/javascript">
		// 需要服务器环境
		$.cookie('mycookie','123',{expires:7,payh:'/'});

		var val= $.cookie('Pycharm-116a4812');
		alert(val);

	</script>
</head>
<body>
	
</body>
</html>